 /**
 * Description: 版本历史
 * @author:jacky
 * @since:1.0.0
 *
 * Modification History:
 * Date         Author      Version     Description
 * ------------------------------------------------------------------
 * 2018-07-05   jacky       1.0.0     Initial
 */
package com.metro.demo.biz.beans.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.metro.core.beans.entity.BaseEntity;
import java.util.Date;
import com.metro.utils.DateUtil;
 /**
 * 版本历史<br>
 *
 * @author:jacky
 * @since:1.0.0
 * @version [1.0.0, 2018-07-05]
 */
@Data()
@EqualsAndHashCode(callSuper = false)
public class BizVersionHistoryEntity extends BaseEntity{
    private static final long serialVersionUID=1L;
    //经销商代码
    private String code;
    //经销商名称
    private String name;
    //版本
    private String sysVersion;
    //更新时间
    private Date upgradeTime;
    //备注
    private String versionRemark;


    public String getUpgradeTimeStr() {
        return DateUtil.limitDay(this.upgradeTime);
    }

}
